package Scrap;

public class demo22_digitreversal {

	public static void main(String[] args) {

		int n = 65468484;
		int rem = 0;
		int revn = 0;

		while (n > 0) {

			rem = n % 10;
			revn = revn * 10 + rem;
			n = n / 10;
		}
		System.out.println(revn);

	}

}
